home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 February / macformat-047.iso / Shareware Plus / Developers / DLOGManager 1.02 / Source Code / GeneralUtilities.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-14  |  707 b   |  42 lines  |  [TEXT/KAHL]

  1. /*****
  2.  *    GeneralUtilities.h
  3.  *
  4.  *    Interfacce pubbliche per GeneralUtilities.c
  5.  *    © Com&Media, 1994
  6.  *
  7.  *    15/10/94    Scorporo da Utilities.h (Fabio Barbieri)
  8.  *    18/8/94        Prima stesura (Fabio Barbieri)
  9.  *
  10.  ****/
  11. #include <Types.h>
  12.  
  13. /*****    Function prototyping    *****/
  14. void    Wait(short);
  15. void    FixedToFloat(Fixed, float *);
  16. void    FloatToFixed(float, Fixed *);
  17. Boolean    GetFontNumber(Str255, short *);
  18. Boolean    CompHandle(Handle, Handle);
  19. void    CicloAttesa(void);
  20.  
  21. /***
  22.  *
  23.  *    get the lower byte of a short.
  24.  *
  25.  ****/
  26. short getLow(short value);
  27.  
  28. /***
  29.  *
  30.  *    get the lower byte of a short.
  31.  *
  32.  ****/
  33. short getHi(short value);
  34.  
  35. /***
  36.  *
  37.  *    merge the high and low part of a short.
  38.  *
  39.  ***/
  40. short merge(short hi, short low);
  41.  
  42.